{\rtf1\ansi\ansicpg950\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fnil\fcharset136 STHeitiTC-Light;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red170\green13\blue145;\red63\green110\blue116;\red46\green13\blue110;
\red100\green56\blue32;\red196\green26\blue22;\red0\green116\blue0;\red92\green38\blue153;\red28\green0\blue207;
\red255\green25\blue19;\red255\green26\blue56;\red38\green71\blue75;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs30 \cf0 \
\'bc\'57\'a5\'5b\'bc\'d0\'c0\'59\'c0\'c9\'b1\'c6\'a7\'c7\'a8\'42\'c6\'4a:\
\
1.
\f1\fs28 \CocoaLigature0 StockTableQuote.m=>- (\cf2 void\cf0 )viewDidLoad 
\f0 \'bc\'57\'a5\'5b\'a1\'47
\f1 [\cf3 picka2\cf0  \cf4 addObject\cf0 :\cf5 NSLocalizedString\cf0 (\cf6 @"Signal"\cf0 , \cf6 @"
\f0 \'b0\'54\'b8\'b9
\f1 "\cf0 )]\
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural
\cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs30 \cf0 \CocoaLigature1 2.\'a6\'70\'aa\'47\'b8\'d3\'bc\'d0\'c0\'59\'ac\'4f\'b6\'b7\'b8\'67\'b9\'4c\'ad\'70\'ba\'e2\'aa\'ba:
\f1\fs28 \CocoaLigature0 StockTableQuote.m=>- (\cf2 void\cf0 )viewDidLoad 
\f0 \'bc\'57\'a5\'5b\'a1\'47
\f1 [\cf3 needCalcuateTableIndicator\cf0  \cf4 addObject\cf0 : \cf5 NSLocalizedString\cf0 (\cf6 @"Signal"\cf0 , \cf6 @"
\f0 \'b0\'54\'b8\'b9
\f1 "\cf0 )];\
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural
\cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs30 \cf0 \CocoaLigature1 3.\'a6\'61\'b0\'ec\'a4\'c6\'bc\'d0\'c0\'59:\
\
4.\'bc\'d0\'c0\'59\'bb\'dd\'ad\'6e\'ad\'70\'ba\'e2: \
    \ul \'bf\'e9\'a5\'58\'b0\'d1\'bc\'c6\'ab\'c5\'a7\'69\ulnone \
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural

\f1\fs28 \cf7 \CocoaLigature0   (1)DataObject.h:\cf8 NSString\cf0  *\cf3 LF_Signal\cf0 ;\
\cf7   (2)DataObject.h:\cf2 @property\cf0  (\cf2 nonatomic\cf0 , \cf2 retain\cf0 ) NSString *LF_Signal;\
\cf7   (3)DataObject.m:\cf2 @synthesize\cf0  LF_Signal;\
  
\f0 \ul \'bf\'e9\'a5\'58\'ad\'70\'ba\'e2
\f1 \ulnone \
\cf7   DataObject.m=>\cf0 -\cf3 (void)Caluate\cf0 _\cf4 Table\cf0 In\cf9 d\cf0 icator:\
  
\f0\b \cf10 \'ad\'ab\'ad\'6e:\'b0\'4f\'b1\'6f\'ad\'6eCOPY
\b0 \cf0  
\f1 \
  
\f0 \'bd\'64\'a8\'d2:
\f1  \cf7 ChangePercentYear=  [  [NSString stringWithF\cf0 ormat:@"%0.02f",(close1- closex)/closex\cf4 *100] 
\fs36 \uldb copy
\fs28 \ulnone ]  \cf0 ;\
  \
	\
	    
\f0\fs30 \CocoaLigature1 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\cf0 5.\'bc\'d0\'c0\'59\'a4\'a3\'bb\'dd\'ad\'6e\'ad\'70\'ba\'e2:\
   \ul \'bf\'e9\'a5\'58\'b0\'d1\'bc\'c6\'ab\'c5\'a7\'69\ulnone \
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural

\f1\fs28 \cf7 \CocoaLigature0   (1)DataObject.h:\cf8 NSString\cf0  *\cf3 LF_Signal\cf0 ;\
\cf7   (2)DataObject.h:\cf2 @property\cf0  (\cf2 nonatomic\cf0 , \cf2 retain\cf0 ) NSString *LF_Signal;\
\cf7   (3)DataObject.m:\cf2 @synthesize\cf0  LF_Signal;
\f0\fs30 \CocoaLigature1 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\cf0 \
\
6.\'a7\'65\'b2\'7b:\
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural

\f1\fs28 \cf7 \CocoaLigature0   StockTableQuote.m=>\cf0 -(void)setStockTable\cf8 QuoteCe\cf0 ll:(StockTableQuoteCell *)\cf8 wcell ....\
  
\f0 \'bc\'57\'a5\'5b
\f1 :\
  \cf3 el\cf0 s\cf8 e  i\cf0 f(\cf8 [ident\cf0 f\cf4 y isEqualToString:NS\cf0 L\cf9 oc\cf0 alizedStrin\cf3 g(@"\cf0 L\cf8 F_Si\cf0 gn\cf8 al", @\cf0 "\cf4 LF_
\f0 \'b0\'54\'b8\'b9
\f1 ")])\{\
  ....
\f0 \'aa\'60\'b7\'4e\'b3\'cc\'ab\'e1\'bf\'e9\'a5\'58\'ac\'4f
\f1 \cf8 cr.text\
  \cf4   \}\
	\
7.
\f0 \'b1\'c6\'a7\'c7\
(1)
\f1 \cf7 StockTableQuote.h=>\
\cf8     NSInteger\cf0  comparator_LF_Signal_UP( \cf3 DataObject\cf0  *d1, \cf3 DataObject\cf0  *d2, \cf2 void\cf0  *context );\
\cf8     NSInteger\cf0  comparator_LF_Signal_DOWN( \cf3 DataObject\cf0  *d1, \cf3 DataObject\cf0  *d2, \cf2 void\cf0  *context );
\f0 \cf4 \
(2)
\f1 \cf7 StockTableQuote.m=>\
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural
\cf0  \
   NSInteger\cf4  comparator_LF_Signal_UP( DataObject\cf0  *\cf8 d1, DataObject\cf0  \cf4 *d2, void *context \cf0 )\{\
	re\cf8 turn [ [\cf0 NSNumber \cf2 num\cf0 berWith\cf2 Flo\cf0 at\cf8 : [
\fs36 \cf11 \uldb \ulc11 d2.LF_Signal
\fs28 \cf0 \ulnone  floatValue]]\cf4   ....\cf0 \} \
	//
\f0 \'ad\'d7\'a7\'ef\'ac\'f5\'a6\'e2\'c2\'f9\'a9\'b3\'bd\'75\'b3\'a1\'a5\'f7
\f1 \
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural
\cf2    NS\cf0 In\cf3 teger compara\cf0 t\cf4 or_LF_Signal_\cf0 DOWN( Da\cf9 taObject *\cf0 d1, DataObj\cf7 ect *d2, void\cf0  *context \cf2 )\{...\}\cf0 \
	 \cf7 \
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural

\f0 \cf4 \
(3)
\f1 \cf7 StockTableQuote.m=>\cf0 -(void)sort_table\{...\
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural

\f0 \cf0 \'a4\'ba\'b7\'73\'bc\'57:
\f1 \cf4 \
\cf0 else if (\cf3 [columnFie\cf0 ld isE\cf3 qualToStri\cf0 ng:NSL\cf2 ocal\cf0 izedString(@"L\cf2 F_Sign\cf0 al", @\cf3 "LF_
\f0 \'b0\'54\'b8\'b9
\f1 ")]\cf0 )\cf4  \{\
		\
	\cf0 	NSAr\cf12 ray *sort\cf0 WinPe\cf7 rcent\cf0 age ;\
		if (select_col_index_row_\cf3 updwon==1)\cf0  \{\
			\cf3 sortWinPer\cf0 centag\cf2 e= [\cf0 download_data_\cf2 obj so\cf0 rted\cf8 ArrayUsi\cf0 n\cf4 gFunction:\uldb compa\cf0 \ulc0 rator_\cf3 \ulc3 LF_Signal_UP\cf0 \ulnone  \cf4  context:n\cf0 il]\cf4 ;		\
		\}\cf0 \
		\cf8 else \{\
	\cf0 	\cf4 	sortWinPercent\cf0 age=  \cf3 [download_da\cf0 ta_obj sortedArrayUsingFunction:\uldb comparator_LF_Signal_DO\cf3 WN \ulnone   conte\cf0 xt:nil\cf3 ];		\
		\}\
	\cf0 	downl\cf2 oad_\cf0 data_obj=[sort\cf2 WinPer\cf0 cent\cf8 age muta\cf0 b\cf4 leCopy];\
		[[se\cf0 lf tab\cf3 leView] relo\cf0 a\cf4 dData];	\
	\cf0 \} \cf4   \
  \
  \
  }